TEMPLATE += app
QT += core gui widgets network sql xml
CONFIG(debug, debug|release) {
    TARGET = debug/divelog
    MOC_DIR = c:/windows/temp/divelog/debug
    OBJECTS_DIR = c:/windows/temp/divelog/debug
    RCC_DIR = c:/windows/temp/divelog/debug
    UI_DIR = c:/windows/temp/divelog/debug
} else {
    TARGET = divelog
    MOC_DIR = c:/windows/temp/divelog/release
    OBJECTS_DIR = c:/windows/temp/divelog/release
    RCC_DIR = c:/windows/temp/divelog/release
    UI_DIR = c:/windows/temp/divelog/release
}
DESTDIR = bin
SOURCES += \
    src/main.cpp \
    src/constants.cpp \
    src/datastore.cpp \
    src/mainwindow.cpp \
    src/inmersionesmodel.cpp \
    src/inmersionessourcemodel.cpp \
    src/inmersioneslist.cpp \
    src/inmersiongrafico.cpp \
    src/inmersiondetalles.cpp \
    src/login.cpp \
    src/inmersiondelegate.cpp \
    src/inmersion.cpp \
    src/estadisticasmodel.cpp \
    src/estadisticadelegate.cpp
HEADERS += \
    src/constants.h \
    src/datastore.h \
    src/poco.h \
    src/mainwindow.h \
    src/inmersionesmodel.h \
    src/inmersionessourcemodel.h \
    src/inmersioneslist.h \
    src/inmersiongrafico.h \
    src/inmersiondetalles.h \
    src/login.h \
    src/inmersiondelegate.h \
    src/stable.h \
    src/inmersion.h \
    src/estadisticas.h \
    src/estadisticasmodel.h \
    src/estadisticadelegate.h \
    src/libdivecomputer/version.h \
    src/libdivecomputer/units.h \
    src/libdivecomputer/suunto_d9.h \
    src/libdivecomputer/parser.h \
    src/libdivecomputer/iterator.h \
    src/libdivecomputer/device.h \
    src/libdivecomputer/descriptor.h \
    src/libdivecomputer/datetime.h \
    src/libdivecomputer/context.h \
    src/libdivecomputer/common.h \
    src/libdivecomputer/buffer.h
LIBS += \
    res/libdivecomputer.lib
RESOURCES += \
    divelog.qrc
RC_FILE = res/divelog.rc
OTHER_FILES += \
    res/divelog.rc \
    res/divelog_views.sql \
    res/divelog_data.sql \
    res/divelog.sql \
    res/divelog.qss
PRECOMPILED_HEADER = src/stable.h
